Optimal. Leaf size=107 \[ -\frac {10 e^3 \sqrt {e \cos (c+d x)}}{3 a^3 d}-\frac {10 e^4 \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^3 d \sqrt {e \cos (c+d x)}}-\frac {4 e (e \cos (c+d x))^{5/2}}{3 a d (a+a \sin (c+d x))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {2759, 2761,
2721, 2720} \begin {gather*} -\frac {10 e^4 \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^3 d \sqrt {e \cos (c+d x)}}-\frac {10 e^3 \sqrt {e \cos (c+d x)}}{3 a^3 d}-\frac {4 e (e \cos (c+d x))^{5/2}}{3 a d (a \sin (c+d x)+a)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2720
Rule 2721
Rule 2759
Rule 2761
Rubi steps
\begin {align*} \int \frac {(e \cos (c+d x))^{7/2}}{(a+a \sin (c+d x))^3} \, dx &=-\frac {4 e (e \cos (c+d x))^{5/2}}{3 a d (a+a \sin (c+d x))^2}-\frac {\left (5 e^2\right ) \int \frac {(e \cos (c+d x))^{3/2}}{a+a \sin (c+d x)} \, dx}{3 a^2}\\ &=-\frac {10 e^3 \sqrt {e \cos (c+d x)}}{3 a^3 d}-\frac {4 e (e \cos (c+d x))^{5/2}}{3 a d (a+a \sin (c+d x))^2}-\frac {\left (5 e^4\right ) \int \frac {1}{\sqrt {e \cos (c+d x)}} \, dx}{3 a^3}\\ &=-\frac {10 e^3 \sqrt {e \cos (c+d x)}}{3 a^3 d}-\frac {4 e (e \cos (c+d x))^{5/2}}{3 a d (a+a \sin (c+d x))^2}-\frac {\left (5 e^4 \sqrt {\cos (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{3 a^3 \sqrt {e \cos (c+d x)}}\\ &=-\frac {10 e^3 \sqrt {e \cos (c+d x)}}{3 a^3 d}-\frac {10 e^4 \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{3 a^3 d \sqrt {e \cos (c+d x)}}-\frac {4 e (e \cos (c+d x))^{5/2}}{3 a d (a+a \sin (c+d x))^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 0.08, size = 66, normalized size = 0.62 \begin {gather*} -\frac {\sqrt [4]{2} (e \cos (c+d x))^{9/2} \, _2F_1\left (\frac {7}{4},\frac {9}{4};\frac {13}{4};\frac {1}{2} (1-\sin (c+d x))\right )}{9 a^3 d e (1+\sin (c+d x))^{9/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 4.32, size = 219, normalized size = 2.05
method | result | size |
default | \(\frac {2 \left (10 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+12 \left (\sin ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-5 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticF \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-8 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-12 \left (\sin ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+7 \sin \left (\frac {d x}{2}+\frac {c}{2}\right )\right ) e^{4}}{3 \left (2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) a^{3} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) e +e}\, d}\) | \(219\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.11, size = 129, normalized size = 1.21 \begin {gather*} -\frac {5 \, {\left (-i \, \sqrt {2} e^{\frac {7}{2}} \sin \left (d x + c\right ) - i \, \sqrt {2} e^{\frac {7}{2}}\right )} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + 5 \, {\left (i \, \sqrt {2} e^{\frac {7}{2}} \sin \left (d x + c\right ) + i \, \sqrt {2} e^{\frac {7}{2}}\right )} {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right ) + 2 \, {\left (3 \, e^{\frac {7}{2}} \sin \left (d x + c\right ) + 7 \, e^{\frac {7}{2}}\right )} \sqrt {\cos \left (d x + c\right )}}{3 \, {\left (a^{3} d \sin \left (d x + c\right ) + a^{3} d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (e\,\cos \left (c+d\,x\right )\right )}^{7/2}}{{\left (a+a\,\sin \left (c+d\,x\right )\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________